waitSeconds (wait n seconds)

Syntax:

waitSeconds( seconds [: 'message' );

Description:

Suspends the current job for a specified number of seconds. Optionally displays a status message. When the job resumes the originally status message is restored.

Return value:

void

Example:

// Wait for 5 seconds.

waitSeconds(5);          

// Wait for 3 seconds with status message.

waitSeconds(3 : 'Waiting 3 seconds ...');